import React from 'react';
import ReactDOM from 'react-dom/client';
// 重置css样式 一般放在最前面
import "reset-css" 
// UI框架的样式

// 全局样式
import './assets/styles/global.scss'

// 组件的样式
import App from './App';
import {BrowserRouter} from 'react-router-dom'; // 引入路由器

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <BrowserRouter>
      <App />
    </BrowserRouter> 
  </React.StrictMode>
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
